import { createRouter, createWebHistory } from "vue-router";
import HomeView from "../views/HomeView.vue";

const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      name: "home",
      path: "/",
      redirect: "/app1/home",
    },
    {
      path: "/app1/home",
      name: "app1Home",
      component: HomeView,
    },
    {
      path: "/app1/about",
      name: "app1about",
      component: () => import("../views/AboutView.vue"),
    },
  ],
});

export default router;